pixbuf-engine: Improve ThemePixbuf clean up functions
authorEmmanuele Bassi <ebassi@gnome.org>
Mon, 18 Nov 2013 11:04:37 +0000 (11:04 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 23 Nov 2013 03:17:07 +0000 (22:17 -0500)
commit01dfd8bb6e80c5e23cd94559244b3ea402ad0e62
tree49658df1bc5a6cee4ebcbf19a9668b5a9df3c5cc
parent0d396abf22f09ae36fa89aa109589a1a726079d7
pixbuf-engine: Improve ThemePixbuf clean up functions

Make theme_pixbuf_destroy() NULL-safe like g_free(), and add a clear
function in the spirit of the g_clear_* family of functions.

https://bugzilla.gnome.org/show_bug.cgi?id=712536
modules/engines/pixbuf/pixbuf-render.c
modules/engines/pixbuf/pixbuf.h